/* socket.protocol = NETLINK_GENERIC,
   nlmsg.type = CTRL_CMD_GETFAMILY("nl80211") */

/* Commands */

#define NL80211_CMD_GET_WIPHY                     1
#define NL80211_CMD_SET_WIPHY                     2
#define NL80211_CMD_NEW_WIPHY                     3
#define NL80211_CMD_DEL_WIPHY                     4
#define NL80211_CMD_GET_INTERFACE                 5
#define NL80211_CMD_SET_INTERFACE                 6
#define NL80211_CMD_NEW_INTERFACE                 7
#define NL80211_CMD_DEL_INTERFACE                 8
#define NL80211_CMD_GET_KEY                       9
#define NL80211_CMD_SET_KEY                      10
#define NL80211_CMD_NEW_KEY                      11
#define NL80211_CMD_DEL_KEY                      12
#define NL80211_CMD_GET_BEACON                   13
#define NL80211_CMD_SET_BEACON                   14
#define NL80211_CMD_NEW_BEACON                   15
#define NL80211_CMD_DEL_BEACON                   16
#define NL80211_CMD_GET_STATION                  17
#define NL80211_CMD_SET_STATION                  18
#define NL80211_CMD_NEW_STATION                  19
#define NL80211_CMD_DEL_STATION                  20
#define NL80211_CMD_GET_MPATH                    21
#define NL80211_CMD_SET_MPATH                    22
#define NL80211_CMD_NEW_MPATH                    23
#define NL80211_CMD_DEL_MPATH                    24
#define NL80211_CMD_SET_BSS                      25
#define NL80211_CMD_SET_REG                      26
#define NL80211_CMD_REQ_SET_REG                  27
#define NL80211_CMD_GET_MESH_CONFIG              28
#define NL80211_CMD_SET_MESH_CONFIG              29
#define NL80211_CMD_SET_MGMT_EXTRA_IE            30
#define NL80211_CMD_GET_REG                      31
#define NL80211_CMD_GET_SCAN                     32
#define NL80211_CMD_TRIGGER_SCAN                 33
#define NL80211_CMD_NEW_SCAN_RESULTS             34
#define NL80211_CMD_SCAN_ABORTED                 35
#define NL80211_CMD_REG_CHANGE                   36
#define NL80211_CMD_AUTHENTICATE                 37
#define NL80211_CMD_ASSOCIATE                    38
#define NL80211_CMD_DEAUTHENTICATE               39
#define NL80211_CMD_DISASSOCIATE                 40
#define NL80211_CMD_MICHAEL_MIC_FAILURE          41
#define NL80211_CMD_REG_BEACON_HINT              42
#define NL80211_CMD_JOIN_IBSS                    43
#define NL80211_CMD_LEAVE_IBSS                   44
#define NL80211_CMD_TESTMODE                     45
#define NL80211_CMD_CONNECT                      46
#define NL80211_CMD_ROAM                         47
#define NL80211_CMD_DISCONNECT                   48
#define NL80211_CMD_SET_WIPHY_NETNS              49
#define NL80211_CMD_GET_SURVEY                   50
#define NL80211_CMD_NEW_SURVEY_RESULTS           51
#define NL80211_CMD_SET_PMKSA                    52
#define NL80211_CMD_DEL_PMKSA                    53
#define NL80211_CMD_FLUSH_PMKSA                  54
#define NL80211_CMD_REMAIN_ON_CHANNEL            55
#define NL80211_CMD_CANCEL_REMAIN_ON_CHANNEL     56
#define NL80211_CMD_SET_TX_BITRATE_MASK          57
#define NL80211_CMD_REGISTER_FRAME               58
#define NL80211_CMD_FRAME                        59
#define NL80211_CMD_FRAME_TX_STATUS              60
#define NL80211_CMD_SET_POWER_SAVE               61
#define NL80211_CMD_GET_POWER_SAVE               62
#define NL80211_CMD_SET_CQM                      63
#define NL80211_CMD_NOTIFY_CQM                   64
#define NL80211_CMD_SET_CHANNEL                  65
#define NL80211_CMD_SET_WDS_PEER                 66
#define NL80211_CMD_FRAME_WAIT_CANCEL            67
#define NL80211_CMD_JOIN_MESH                    68
#define NL80211_CMD_LEAVE_MESH                   69
#define NL80211_CMD_UNPROT_DEAUTHENTICATE        70
#define NL80211_CMD_UNPROT_DISASSOCIATE          71
#define NL80211_CMD_NEW_PEER_CANDIDATE           72
#define NL80211_CMD_GET_WOWLAN                   73
#define NL80211_CMD_SET_WOWLAN                   74
#define NL80211_CMD_START_SCHED_SCAN             75
#define NL80211_CMD_STOP_SCHED_SCAN              76
#define NL80211_CMD_SCHED_SCAN_RESULTS           77
#define NL80211_CMD_SCHED_SCAN_STOPPED           78
#define NL80211_CMD_SET_REKEY_OFFLOAD            79
#define NL80211_CMD_PMKSA_CANDIDATE              80
#define NL80211_CMD_TDLS_OPER                    81
#define NL80211_CMD_TDLS_MGMT                    82
#define NL80211_CMD_UNEXPECTED_FRAME             83
#define NL80211_CMD_PROBE_CLIENT                 84
#define NL80211_CMD_REGISTER_BEACONS             85
#define NL80211_CMD_UNEXPECTED_4ADDR_FRAME       86
#define NL80211_CMD_SET_NOACK_MAP                87
#define NL80211_CMD_CH_SWITCH_NOTIFY             88
#define NL80211_CMD_START_P2P_DEVICE             89
#define NL80211_CMD_STOP_P2P_DEVICE              90
#define NL80211_CMD_CONN_FAILED                  91
#define NL80211_CMD_SET_MCAST_RATE               92
#define NL80211_CMD_SET_MAC_ACL                  93
#define NL80211_CMD_RADAR_DETECT                 94
#define NL80211_CMD_GET_PROTOCOL_FEATURES        95
#define NL80211_CMD_UPDATE_FT_IES                96
#define NL80211_CMD_FT_EVENT                     97
#define NL80211_CMD_CRIT_PROTOCOL_START          98
#define NL80211_CMD_CRIT_PROTOCOL_STOP           99
#define NL80211_CMD_GET_COALESCE                100
#define NL80211_CMD_SET_COALESCE                101
#define NL80211_CMD_CHANNEL_SWITCH              102
#define NL80211_CMD_VENDOR                      103
#define NL80211_CMD_SET_QOS_MAP                 104
#define NL80211_CMD_ADD_TX_TS                   105
#define NL80211_CMD_DEL_TX_TS                   106
#define NL80211_CMD_GET_MPP                     107
#define NL80211_CMD_JOIN_OCB                    108
#define NL80211_CMD_LEAVE_OCB                   109
#define NL80211_CMD_CH_SWITCH_STARTED_NOTIFY    110
#define NL80211_CMD_TDLS_CHANNEL_SWITCH         111
#define NL80211_CMD_TDLS_CANCEL_CHANNEL_SWITCH  112
#define NL80211_CMD_WIPHY_REG_CHANGE            113
#define NL80211_CMD_ABORT_SCAN                  114

/* Attributes */

#define NL80211_ATTR_WIPHY                        1
#define NL80211_ATTR_WIPHY_NAME                   2
#define NL80211_ATTR_IFINDEX                      3
#define NL80211_ATTR_IFNAME                       4
#define NL80211_ATTR_IFTYPE                       5
#define NL80211_ATTR_MAC                          6
#define NL80211_ATTR_KEY_DATA                     7
#define NL80211_ATTR_KEY_IDX                      8
#define NL80211_ATTR_KEY_CIPHER                   9
#define NL80211_ATTR_KEY_SEQ                     10
#define NL80211_ATTR_KEY_DEFAULT                 11
#define NL80211_ATTR_BEACON_INTERVAL             12
#define NL80211_ATTR_DTIM_PERIOD                 13
#define NL80211_ATTR_BEACON_HEAD                 14
#define NL80211_ATTR_BEACON_TAIL                 15
#define NL80211_ATTR_STA_AID                     16
#define NL80211_ATTR_STA_FLAGS                   17
#define NL80211_ATTR_STA_LISTEN_INTERVAL         18
#define NL80211_ATTR_STA_SUPPORTED_RATES         19
#define NL80211_ATTR_STA_VLAN                    20
#define NL80211_ATTR_STA_INFO                    21
#define NL80211_ATTR_WIPHY_BANDS                 22
#define NL80211_ATTR_MNTR_FLAGS                  23
#define NL80211_ATTR_MESH_ID                     24
#define NL80211_ATTR_STA_PLINK_ACTION            25
#define NL80211_ATTR_MPATH_NEXT_HOP              26
#define NL80211_ATTR_MPATH_INFO                  27
#define NL80211_ATTR_BSS_CTS_PROT                28
#define NL80211_ATTR_BSS_SHORT_PREAMBLE          29
#define NL80211_ATTR_BSS_SHORT_SLOT_TIME         30
#define NL80211_ATTR_HT_CAPABILITY               31
#define NL80211_ATTR_SUPPORTED_IFTYPES           32
#define NL80211_ATTR_REG_ALPHA2                  33
#define NL80211_ATTR_REG_RULES                   34
#define NL80211_ATTR_MESH_CONFIG                 35
#define NL80211_ATTR_BSS_BASIC_RATES             36
#define NL80211_ATTR_WIPHY_TXQ_PARAMS            37
#define NL80211_ATTR_WIPHY_FREQ                  38
#define NL80211_ATTR_WIPHY_CHANNEL_TYPE          39
#define NL80211_ATTR_KEY_DEFAULT_MGMT            40
#define NL80211_ATTR_MGMT_SUBTYPE                41
#define NL80211_ATTR_IE                          42
#define NL80211_ATTR_MAX_NUM_SCAN_SSIDS          43
#define NL80211_ATTR_SCAN_FREQUENCIES            44
#define NL80211_ATTR_SCAN_SSIDS                  45
#define NL80211_ATTR_GENERATION                  46
#define NL80211_ATTR_BSS                         47
#define NL80211_ATTR_REG_INITIATOR               48
#define NL80211_ATTR_REG_TYPE                    49
#define NL80211_ATTR_SUPPORTED_COMMANDS          50
#define NL80211_ATTR_FRAME                       51
#define NL80211_ATTR_SSID                        52
#define NL80211_ATTR_AUTH_TYPE                   53
#define NL80211_ATTR_REASON_CODE                 54
#define NL80211_ATTR_KEY_TYPE                    55
#define NL80211_ATTR_MAX_SCAN_IE_LEN             56
#define NL80211_ATTR_CIPHER_SUITES               57
#define NL80211_ATTR_FREQ_BEFORE                 58
#define NL80211_ATTR_FREQ_AFTER                  59
#define NL80211_ATTR_FREQ_FIXED                  60
#define NL80211_ATTR_WIPHY_RETRY_SHORT           61
#define NL80211_ATTR_WIPHY_RETRY_LONG            62
#define NL80211_ATTR_WIPHY_FRAG_THRESHOLD        63
#define NL80211_ATTR_WIPHY_RTS_THRESHOLD         64
#define NL80211_ATTR_TIMED_OUT                   65
#define NL80211_ATTR_USE_MFP                     66
#define NL80211_ATTR_STA_FLAGS2                  67
#define NL80211_ATTR_CONTROL_PORT                68
#define NL80211_ATTR_TESTDATA                    69
#define NL80211_ATTR_PRIVACY                     70
#define NL80211_ATTR_DISCONNECTED_BY_AP          71
#define NL80211_ATTR_STATUS_CODE                 72
#define NL80211_ATTR_CIPHER_SUITES_PAIRWISE      73
#define NL80211_ATTR_CIPHER_SUITE_GROUP          74
#define NL80211_ATTR_WPA_VERSIONS                75
#define NL80211_ATTR_AKM_SUITES                  76
#define NL80211_ATTR_REQ_IE                      77
#define NL80211_ATTR_RESP_IE                     78
#define NL80211_ATTR_PREV_BSSID                  79
#define NL80211_ATTR_KEY                         80
#define NL80211_ATTR_KEYS                        81
#define NL80211_ATTR_PID                         82
#define NL80211_ATTR_4ADDR                       83
#define NL80211_ATTR_SURVEY_INFO                 84
#define NL80211_ATTR_PMKID                       85
#define NL80211_ATTR_MAX_NUM_PMKIDS              86
#define NL80211_ATTR_DURATION                    87
#define NL80211_ATTR_COOKIE                      88
#define NL80211_ATTR_WIPHY_COVERAGE_CLASS        89
#define NL80211_ATTR_TX_RATES                    90
#define NL80211_ATTR_FRAME_MATCH                 91
#define NL80211_ATTR_ACK                         92
#define NL80211_ATTR_PS_STATE                    93
#define NL80211_ATTR_CQM                         94
#define NL80211_ATTR_LOCAL_STATE_CHANGE          95
#define NL80211_ATTR_AP_ISOLATE                  96
#define NL80211_ATTR_WIPHY_TX_POWER_SETTING      97
#define NL80211_ATTR_WIPHY_TX_POWER_LEVEL        98
#define NL80211_ATTR_TX_FRAME_TYPES              99
#define NL80211_ATTR_RX_FRAME_TYPES             100
#define NL80211_ATTR_FRAME_TYPE                 101
#define NL80211_ATTR_CONTROL_PORT_ETHERTYPE     102
#define NL80211_ATTR_CONTROL_PORT_NO_ENCRYPT    103
#define NL80211_ATTR_SUPPORT_IBSS_RSN           104
#define NL80211_ATTR_WIPHY_ANTENNA_TX           105
#define NL80211_ATTR_WIPHY_ANTENNA_RX           106
#define NL80211_ATTR_MCAST_RATE                 107
#define NL80211_ATTR_OFFCHANNEL_TX_OK           108
#define NL80211_ATTR_BSS_HT_OPMODE              109
#define NL80211_ATTR_KEY_DEFAULT_TYPES          110
#define NL80211_ATTR_MAX_REMAIN_ON_CHANNEL_DURATION 111
#define NL80211_ATTR_MESH_SETUP                 112
#define NL80211_ATTR_WIPHY_ANTENNA_AVAIL_TX     113
#define NL80211_ATTR_WIPHY_ANTENNA_AVAIL_RX     114
#define NL80211_ATTR_SUPPORT_MESH_AUTH          115
#define NL80211_ATTR_STA_PLINK_STATE            116
#define NL80211_ATTR_WOWLAN_TRIGGERS            117
#define NL80211_ATTR_WOWLAN_TRIGGERS_SUPPORTED  118
#define NL80211_ATTR_SCHED_SCAN_INTERVAL        119
#define NL80211_ATTR_INTERFACE_COMBINATIONS     120
#define NL80211_ATTR_SOFTWARE_IFTYPES           121
#define NL80211_ATTR_REKEY_DATA                 122
#define NL80211_ATTR_MAX_NUM_SCHED_SCAN_SSIDS   123
#define NL80211_ATTR_MAX_SCHED_SCAN_IE_LEN      124
#define NL80211_ATTR_SCAN_SUPP_RATES            125
#define NL80211_ATTR_HIDDEN_SSID                126
#define NL80211_ATTR_IE_PROBE_RESP              127
#define NL80211_ATTR_IE_ASSOC_RESP              128
#define NL80211_ATTR_STA_WME                    129
#define NL80211_ATTR_SUPPORT_AP_UAPSD           130
#define NL80211_ATTR_ROAM_SUPPORT               131
#define NL80211_ATTR_SCHED_SCAN_MATCH           132
#define NL80211_ATTR_MAX_MATCH_SETS             133
#define NL80211_ATTR_PMKSA_CANDIDATE            134
#define NL80211_ATTR_TX_NO_CCK_RATE             135
#define NL80211_ATTR_TDLS_ACTION                136
#define NL80211_ATTR_TDLS_DIALOG_TOKEN          137
#define NL80211_ATTR_TDLS_OPERATION             138
#define NL80211_ATTR_TDLS_SUPPORT               139
#define NL80211_ATTR_TDLS_EXTERNAL_SETUP        140
#define NL80211_ATTR_DEVICE_AP_SME              141
#define NL80211_ATTR_DONT_WAIT_FOR_ACK          142
#define NL80211_ATTR_FEATURE_FLAGS              143
#define NL80211_ATTR_PROBE_RESP_OFFLOAD         144
#define NL80211_ATTR_PROBE_RESP                 145
#define NL80211_ATTR_DFS_REGION                 146
#define NL80211_ATTR_DISABLE_HT                 147
#define NL80211_ATTR_HT_CAPABILITY_MASK         148
#define NL80211_ATTR_NOACK_MAP                  149
#define NL80211_ATTR_INACTIVITY_TIMEOUT         150
#define NL80211_ATTR_RX_SIGNAL_DBM              151
#define NL80211_ATTR_BG_SCAN_PERIOD             152
#define NL80211_ATTR_WDEV                       153
#define NL80211_ATTR_USER_REG_HINT_TYPE         154
#define NL80211_ATTR_CONN_FAILED_REASON         155
#define NL80211_ATTR_SAE_DATA                   156
#define NL80211_ATTR_VHT_CAPABILITY             157
#define NL80211_ATTR_SCAN_FLAGS                 158
#define NL80211_ATTR_CHANNEL_WIDTH              159
#define NL80211_ATTR_CENTER_FREQ1               160
#define NL80211_ATTR_CENTER_FREQ2               161
#define NL80211_ATTR_P2P_CTWINDOW               162
#define NL80211_ATTR_P2P_OPPPS                  163
#define NL80211_ATTR_LOCAL_MESH_POWER_MODE      164
#define NL80211_ATTR_ACL_POLICY                 165
#define NL80211_ATTR_MAC_ADDRS                  166
#define NL80211_ATTR_MAC_ACL_MAX                167
#define NL80211_ATTR_RADAR_EVENT                168
#define NL80211_ATTR_EXT_CAPA                   169
#define NL80211_ATTR_EXT_CAPA_MASK              170
#define NL80211_ATTR_STA_CAPABILITY             171
#define NL80211_ATTR_STA_EXT_CAPABILITY         172
#define NL80211_ATTR_PROTOCOL_FEATURES          173
#define NL80211_ATTR_SPLIT_WIPHY_DUMP           174
#define NL80211_ATTR_DISABLE_VHT                175
#define NL80211_ATTR_VHT_CAPABILITY_MASK        176
#define NL80211_ATTR_MDID                       177
#define NL80211_ATTR_IE_RIC                     178
#define NL80211_ATTR_CRIT_PROT_ID               179
#define NL80211_ATTR_MAX_CRIT_PROT_DURATION     180
#define NL80211_ATTR_PEER_AID                   181
#define NL80211_ATTR_COALESCE_RULE              182
#define NL80211_ATTR_CH_SWITCH_COUNT            183
#define NL80211_ATTR_CH_SWITCH_BLOCK_TX         184
#define NL80211_ATTR_CSA_IES                    185
#define NL80211_ATTR_CSA_C_OFF_BEACON           186
#define NL80211_ATTR_CSA_C_OFF_PRESP            187
#define NL80211_ATTR_RXMGMT_FLAGS               188
#define NL80211_ATTR_STA_SUPPORTED_CHANNELS     189
#define NL80211_ATTR_STA_SUPPORTED_OPER_CLASSES 190
#define NL80211_ATTR_HANDLE_DFS                 191
#define NL80211_ATTR_SUPPORT_5_MHZ              192
#define NL80211_ATTR_SUPPORT_10_MHZ             193
#define NL80211_ATTR_OPMODE_NOTIF               194
#define NL80211_ATTR_VENDOR_ID                  195
#define NL80211_ATTR_VENDOR_SUBCMD              196
#define NL80211_ATTR_VENDOR_DATA                197
#define NL80211_ATTR_VENDOR_EVENTS              198
#define NL80211_ATTR_QOS_MAP                    199
#define NL80211_ATTR_MAC_HINT                   200
#define NL80211_ATTR_WIPHY_FREQ_HINT            201
#define NL80211_ATTR_MAX_AP_ASSOC_STA           202
#define NL80211_ATTR_TDLS_PEER_CAPABILITY       203
#define NL80211_ATTR_SOCKET_OWNER               204
#define NL80211_ATTR_CSA_C_OFFSETS_TX           205
#define NL80211_ATTR_MAX_CSA_COUNTERS           206
#define NL80211_ATTR_TDLS_INITIATOR             207
#define NL80211_ATTR_USE_RRM                    208
#define NL80211_ATTR_WIPHY_DYN_ACK              209
#define NL80211_ATTR_TSID                       210
#define NL80211_ATTR_USER_PRIO                  211
#define NL80211_ATTR_ADMITTED_TIME              212
#define NL80211_ATTR_SMPS_MODE                  213
#define NL80211_ATTR_OPER_CLASS                 214
#define NL80211_ATTR_MAC_MASK                   215
#define NL80211_ATTR_WIPHY_SELF_MANAGED_REG     216
#define NL80211_ATTR_EXT_FEATURES               217
#define NL80211_ATTR_SURVEY_RADIO_STATS         218
#define NL80211_ATTR_NETNS_FD                   219
#define NL80211_ATTR_SCHED_SCAN_DELAY           220
#define NL80211_ATTR_REG_INDOOR                 221
#define NL80211_ATTR_MAX_NUM_SCHED_SCAN_PLANS   222
#define NL80211_ATTR_MAX_SCAN_PLAN_INTERVAL     223
#define NL80211_ATTR_MAX_SCAN_PLAN_ITERATIONS   224
#define NL80211_ATTR_SCHED_SCAN_PLANS           225
#define NL80211_ATTR_PBSS                       226
#define NL80211_ATTR_BSS_SELECT                 227
#define NL80211_ATTR_STA_SUPPORT_P2P_PS         228
#define NL80211_ATTR_PAD                        229
#define NL80211_ATTR_IFTYPE_EXT_CAPA            230
#define NL80211_ATTR_MU_MIMO_GROUP_DATA         231
#define NL80211_ATTR_MU_MIMO_FOLLOW_MAC_ADDR    232
#define NL80211_ATTR_SCAN_START_TIME_TSF        233
#define NL80211_ATTR_SCAN_START_TIME_TSF_BSSID  234
#define NL80211_ATTR_MEASUREMENT_DURATION       235
#define NL80211_ATTR_MEASUREMENT_DURATION_MANDATORY 236
#define NL80211_ATTR_MESH_PEER_AID              237

#define NL80211_BSS_BSSID                1  /* byte[6] */
#define NL80211_BSS_FREQUENCY            2  /* u32, MHz */
#define NL80211_BSS_TSF                  3  /* u64 */
#define NL80211_BSS_BEACON_INTERVAL      4  /* u16 */
#define NL80211_BSS_CAPABILITY           5  /* u16 */
#define NL80211_BSS_INFORMATION_ELEMENTS 6  /* ?? */
#define NL80211_BSS_SIGNAL_MBM           7  /* s32 */
#define NL80211_BSS_SIGNAL_UNSPEC        8  /* u8 */
#define NL80211_BSS_STATUS               9  /* ?? */
#define NL80211_BSS_SEEN_MS_AGO         10  /* ?? */
#define NL80211_BSS_BEACON_IES          11  /* ?? */
#define NL80211_BSS_CHAN_WIDTH          12  /* u32, nl80211_bss_scan_width */
#define NL80211_BSS_BEACON_TSF          13  /* u64 */
#define NL80211_BSS_PRESP_DATA          14  /* flag */
#define NL80211_BSS_LAST_SEEN_BOOTTIME  15  /* u64, ns */
#define NL80211_BSS_PAD                 16  /* pad to 64 align (?) */

/* Nested entries under NL80211_ATTR_STA_INFO (21) */
#define NL80211_STA_INFO_INACTIVE_TIME            1
#define NL80211_STA_INFO_RX_BYTES                 2
#define NL80211_STA_INFO_TX_BYTES                 3
#define NL80211_STA_INFO_LLID                     4
#define NL80211_STA_INFO_PLID                     5
#define NL80211_STA_INFO_PLINK_STATE              6
#define NL80211_STA_INFO_SIGNAL                   7
#define NL80211_STA_INFO_TX_BITRATE               8
#define NL80211_STA_INFO_RX_PACKETS               9
#define NL80211_STA_INFO_TX_PACKETS              10
#define NL80211_STA_INFO_TX_RETRIES              11
#define NL80211_STA_INFO_TX_FAILED               12
#define NL80211_STA_INFO_SIGNAL_AVG              13
#define NL80211_STA_INFO_RX_BITRATE              14
#define NL80211_STA_INFO_BSS_PARAM               15
#define NL80211_STA_INFO_CONNECTED_TIME          16
#define NL80211_STA_INFO_STA_FLAGS               17
#define NL80211_STA_INFO_BEACON_LOSS             18
#define NL80211_STA_INFO_T_OFFSET                19
#define NL80211_STA_INFO_LOCAL_PM                20
#define NL80211_STA_INFO_PEER_PM                 21
#define NL80211_STA_INFO_NONPEER_PM              22
#define NL80211_STA_INFO_RX_BYTES64              23
#define NL80211_STA_INFO_TX_BYTES64              24
#define NL80211_STA_INFO_CHAIN_SIGNAL            25
#define NL80211_STA_INFO_CHAIN_SIGNAL_AVG        26
#define NL80211_STA_INFO_EXPECTED_THROUGHPUT     27
#define NL80211_STA_INFO_RX_DROP_MISC            28
#define NL80211_STA_INFO_BEACON_RX               29
#define NL80211_STA_INFO_BEACON_SIGNAL_AVG       30
#define NL80211_STA_INFO_TID_STATS               31
#define NL80211_STA_INFO_RX_DURATION             32
#define NL80211_STA_INFO_PAD                     33
#define NL80211_STA_INFO_ACK_SIGNAL              34
#define NL80211_STA_INFO_ACK_SIGNAL_AVG          35
#define NL80211_STA_INFO_RX_MPDUS                36
#define NL80211_STA_INFO_FCS_ERROR_COUNT         37
#define NL80211_STA_INFO_CONNECTED_TO_GATE       38
#define NL80211_STA_INFO_TX_DURATION             39
#define NL80211_STA_INFO_AIRTIME_WEIGHT          40
#define NL80211_STA_INFO_AIRTIME_LINK_METRIC     41
#define NL80211_STA_INFO_ASSOC_AT_BOOTTIME       42
#define NL80211_STA_INFO_CONNECTED_TO_AS         43

/* sub-attributes for NL80211_ATTR_KEY_DEFAULT_TYPES */
#define NL80211_KEY_DEFAULT_TYPE_UNICAST    1
#define NL80211_KEY_DEFAULT_TYPE_MULTICAST  2
